<!DOCTYPE html>
<html>
  <head>
    <title>Profile of {{ stud.name }}</title>
    <link href="/static/profiles.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <h1>{{ stud.full_name }}</h1>
    <p>{{ stud.name }} is a student in the CSSI program.</p>
    {% if stud.photo %}
       <img src="/static/{{ stud.photo }}" alt="Photo of {{ stud.name }}" title="this is a CSSIer named {{ stud.name }}"> 
       <div>
         <text> {{ stud.name }}'s buddy is {{ stud.buddy }} </text> 
       </div>
    {% else %}
       <p> There are no pictures </p>
    {% endif %}
  </body>
</html>
